package org.infodavid.common.notifier;

import java.io.Serializable;

import org.infodavid.common.notifier.exceptions.InvalidNotifierCommandException;

/**
 * The Interface INotifierCommandValidator.
 * @param <T> the generic type
 */
public interface INotifierCommandValidator<T extends INotifierCommand> extends Serializable {

  /**
   * Validate.
   * @param data the data
   * @throws InvalidNotifierCommandException the invalid notifier command exception
   */
  void validate(T data) throws InvalidNotifierCommandException;
}
